package com.qiwo.common.domain;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-07 17:14:04
 * 单篇管理
 * </pre>
 * <small> 2018-10-07 17:14:04 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_content")
@EqualsAndHashCode(callSuper=true)
public class ContentDO extends Model<ContentDO> implements Serializable {
	@TableId
	private Long id;

    /** 内容 */
    private String content;

    /** 类型id */
    @TableField("type_id")
    private Long typeId;

    /** 标题1 */
    private String title;

    /**英文标题**/
    @TableField("en_title")
    private  String enTitle;

    /**
     * 品牌图片
     */
    @TableField("image_url")
    private  String imageUrl;

    @TableField("low_img")
    private  String lowImg;

    /**标题2*/
    private String title2;

    /**英文标题2*/
    @TableField("en_title2")
    private  String enTitle2;

    @TableField("longitude")
    private String longitude;

    @TableField("latitude")
    private  String latitude;


    private  Integer sort;

    @TableField("company_Name")
    private String companyName;

    @TableField("company_address")
    private String companyAddress;

    /**
     * 描述2
     */
    @TableField("content_with_html")
    private String contentWithHtml;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
